<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<%@ page session ="true" %>
<%@ taglib uri="oastaglib" prefix="oas"%>
<html>
<head>
    <title>Online Attendance System</title>
    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/bootstrap/dist/css/bootstrap.min.css" /> ">
    <script type="text/javascript" src="<c:url value="/resources/js/jquery/dist/jquery.min.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/resources/bootstrap/dist/js/bootstrap.min.js"/>"></script>
</head>
<body style="background-color:#eeeeee">
<oas:nav/>
<oas:content>
<div style="background-color:#ffffff; width:90%; margin:0 auto; padding:15px 10px;">
	<h1>添加员工</h1>
<sf:form method="POST" modelAttribute="admin">
    <sf:errors path="*" cssClass="error"/><br/><br/>
	全名：<sf:input path="fullName" /><sf:errors path="fullName" cssClass="error"/><br/><br/>
	邮箱：<sf:input path="email" /><sf:errors path="email" cssClass="error"/>  <br/><br/>
        电话号码：<sf:input path="phone" /><sf:errors path="phone" cssClass="error"/>  <br/><br/>
        年龄：<sf:input path="age" /><sf:errors path="age" cssClass="error"/><br/><br/>
        性别：<sf:input path="gender" /><sf:errors path="gender" cssClass="error"/><br/><br/>
        部门：<sf:input path="workcell" /><sf:errors path="workcell" cssClass="error"/><br/><br/>
    id：<sf:input path="id" /><sf:errors path="id" cssClass="error"/><br/><br/>
    role：<sf:input path="role" /><sf:errors path="role" cssClass="error"/><br/><br/>
	用户名：<sf:input path="userName" /><sf:errors path="userName" cssClass="error"/><br/><br/>
	密码：<sf:password  path="password" /><sf:errors path="password" cssClass="error"/><br/><br/>
      <input type="submit" value="添加" />
 </sf:form>
 </div>
 </oas:content>
  <oas:footer/>
</body>
</html>